php forum
php mysql forum
php mysql smarty
 
Page 11 of 11 < 1 2 ... 9 10 11
Topic Options
#151510 - 09/21/02 03:02 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Thanks Allen! thumbsup

Props to you too MasterMind for a cool hack.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#151511 - 09/21/02 08:30 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
Hey,

I'm at my wits end here. I've been trying to get this to work for about 6 hours. I've combed through all the included files, and I still can't figure out what's wrong.

I enter the Control panel, select "Advanced UBBNews" and I get this error message:

Quote:
code:</font><hr />
Code:
Undefined subroutine &main::view_newssessions called at D:Inetpubwwwrootdevcgi-bincp.cgi line 480.
<hr /></blockquote>Line 480 in my cp.cgi =
<blockquote><font class="small">code:
[qb]
Code:
if (($ubb eq 'view_newssessions') && ($status eq 'Administrator')) {
	&RequireCode("$vars_config{CGIPath}/cp_ubbnews.cgi");
	&view_newssessions;
	exit(0);
}
[/qb]
Well, actually, that's lines 478-482

I've compared this block of code with several other blocks in the cp.cgi, also tracing back to the file called in &RequireCode statement. Everything looks right, just can't seem to all the subroutines from cp_ubbnews.cgi.

Oh, I'm on 6.3.0.1 with a bunch of mods - stats, chat, PM inbox, calendar, etc.

Top
#151512 - 09/21/02 08:45 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Make sure you uploaded cp_ubbnews.cgi, CHMODded 755, etc.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151513 - 09/21/02 08:55 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
Oh shoot...

I was about to go off on a nasty spurt about seeing CHMOD in the code. Since I'm using IIS 5.0 on a W2k box.

But then I thought, hmmm... maybe I should check my file permissions.

Got it working.

Thanks LK.

Top
#151514 - 09/22/02 12:22 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Quote:
quote:</font><hr />Originally posted by AllenAyres:
You can print the generated cgi file in a .php page, use something like we do on our front page:
<blockquote><font class="small">code:
[qb]
Code:
<?php
print implode("n", file("http://ubbdev.com/db/cgi/ubbnews.cgi?ns_id=2"));
?>
[/qb]
<hr /></blockquote>Thanks...That command works with PHP. thumbsup
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#151515 - 10/03/02 01:46 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
guvner Offline
Member

Registered: 02/18/00
Posts: 60
Loc: Sydney
Just in case anyone else is like me and not strong on php, the code above - when copied directly off the page - causes the opening php tag to run into the function call

Quote:
code:</font><hr />
Code:
 <?phpprint 
<hr /></blockquote>just separate them <blockquote><font class="small">code:
[qb]
Code:
 <?php print 
[/qb]
and it works a charm.

Thanks guys wink
_________________________
I'm depriving a village somewhere of an idiot.

Top
#151516 - 10/05/02 09:30 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hmm...I'm testing this hack for a new site my team and I are building and so far I like what I see. I understand this is "Unmaintained" but I was wondering if anyone can resolve this problem I'm facing.

If I'm correct, UBBNews will grab the topic date/time when it's first posted, NOT by the replies. If so, I would assume that the posts would be listed in chronological order (e.g., 1/3/02, 1/2/02, 1/1/02). I listed the dates in descending order. Well on forums with replies it randomly selects the date/times of the posts.

Example:

--------------------
WooT
28. September 2002 09:23 PM
AW Man me and ghost had a wiff of a game!
17. December 2001 09:59 AM
need bz2 help baddddd
17. December 2001 09:13 AM
FE............
24. November 2001 09:09 PM
krylo killed haya's pc
26. December 2001 07:49 AM
HardWare: Hard Drive
25. November 2001 12:15 AM
rtcw CLIENT_UNKNOWN_TO_AUTH
04. January 2002 10:26 AM

--------------------

Notice the dates...It's just in random fashion. It didn't reflect the new threads created in Oct nor list them by the dates they were posted. Any help will be much appreciated. Thks!
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#151517 - 12/11/02 07:48 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
=AA=Mars Offline
Junior Member

Registered: 12/04/02
Posts: 1
Is anyone still following this thread?
If so I just have one small problem with the
hack and was wondering if anyone has seen it before?

For some reason the Link for the Topic doesn't get set, it sets the link on the posters name just fine, it just doesn't link to the topic in the forum

Here is the test page
http://www.alienarmada.com/ubbnewstest.shtml

Thanks for any help!

Mike

Top
#151518 - 04/19/03 05:46 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
ok, I get 2 errors in my site error logs with this:

[quote]quote:</font><hr />
ubbnews.cgi: Use of uninitialized value at ubbnews.cgi line 77.
<hr /></blockquote>that line is:
Code:
[/code]and this error:
  <blockquote><font class="small">quote:
[qb]
ubbnews.cgi: Odd number of elements in hash assignment at ubbnews.cgi line 94.
[/qb][/quote]which is:
[code]
Any idea for how to get rid of these errors?

here's a copy of the file:
http://www.ubbdev.com/ubb/upload/00000494/ubbnews.cgi.txt
_________________________
- Allen wavey
- What Drives You?

Top
#151519 - 05/29/03 09:31 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Tunnleram Offline
Member

Registered: 11/26/01
Posts: 46
I'm having an issue and I'm unsure if it's because it's intended to work the way it is or not.

I want to pull news from two forums which I can do simple enough. I simple edit the UBB News template and enter the forum numbers separated by a space like it says.

However, I find that it doesn't pull the posts based on chronological order. Instead it posts them from one forum first, then the next forum next.

Is this intended? Is there a way to make it so that it pulls posts based on the date instead?
_________________________
Tunnleram
TRAM Design
http://www.tramdesign.net

Top
Page 11 of 11 < 1 2 ... 9 10 11



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks